import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { map } from 'rxjs/operators';

@Component({
    selector: 'm-human-software-list',
    templateUrl: './human-software-list.component.html',
    styleUrls: ['./human-software-list.component.scss']
})
export class HumanSoftwareListComponent implements OnInit {
    constructor(private route: ActivatedRoute) { }

    result$ = this.route.data.pipe(map(data => data['list']));

    ngOnInit() {
    }
}
